#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#pragma pack(2)
struct A {
	int a;
	char b;
	short c;
};
#pragma pack()

#pragma pack(4)
struct B {
	char b;
	int a;
	short c;
};
#pragma pack()

int main() {
	printf("sizeof(A) = % d, sizeof(B) = % d\n", sizeof(struct A), sizeof(struct B));
	return 0;
}